package com.wb;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.xfhy.wallpaperdemo.lock.NotifyService;

/**
 * @author : xfhy
 * Create time : 2020/11/2 10:22
 * Description :
 */
public class KeepAliveReceiver extends BroadcastReceiver {

    public static final String a = "KeepAliveReceiver";

    @Override
    public void onReceive(Context context, Intent intent) {
        if (intent != null) {
            Log.d("xfhy_daemon", "KeepAliveReceiver onReceive:" + intent.getAction());
        }
        if (intent != null && "com.wb.keepalive".equals(intent.getAction())) {
            NotifyService.startToolNoti(context);
        }
    }

}

